from django.db import models

# Create your models here.


from django.db import models


# 如果需要，您可以重写其他方法或添加新的方法

class user(models.Model):
    username = models.CharField(verbose_name='用户名', max_length=22, default="")
    pws = models.CharField(verbose_name='密码', max_length=12, default="")
    title = models.CharField(verbose_name='昵称', max_length=22, default="")
    tel = models.CharField(verbose_name='联系电话', max_length=12, default="")

    def __str__(self):
        return self.title

    class Meta:
        verbose_name = '用户'
        verbose_name_plural = '用户管理'
